package fastwave.cloud.demo.fastwave.biz.publisher.config;

import org.springframework.amqp.core.DirectExchange;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>Title: EmailConfig</p>
 * <p>Description: </p>
 *
 * @author: dwLiu
 * @date: 2020/4/6 23:41
 */
@Configuration
public class TransConfig {

    public static final String TRANSFER_ROUTING_KEY="";
    public static final String TRANSFER_EXCHANGE_NAME="TransExchange";
    @Bean
    DirectExchange TransExchange(){
        return new DirectExchange(TRANSFER_EXCHANGE_NAME);
    }
}
